<?php if(sfContext::getInstance()->getUser()->hasCredential('admin')){ ?>
<div class="statistics">
    <h2><?php echo __('Statistics')?></h2>
    
    <div class="content_div">
        <?php
            echo link_to_if($new_assign_count, __('New pending assignments').' : '.$new_assign_count, '@assignment_filter?link_teacher_program_filters[assign_status]='.LinkTeacherProgramTable::STATUS_PENDING);        
        ?>
        <br/>
        <?php echo link_to_if($not_filled_program_count,__('Programs that are still have vacancies').' : '.$not_filled_program_count, '@assignment_filter?filter[filled]=0');?>
        <br/>
        <?php echo link_to_if($filled_program_count, __('Filled current programs').' : '.$filled_program_count,'@assignment_filter?filter[filled]=1');?>    
        <br/>
    </div>
    
    <div class="clear"></div>
</div>    
<?php } ?>